home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / misc / o-z / x-windows / mesa-amiwin / src / makefile < prev    next >
Encoding:
Makefile  |  1995-11-13  |  3.7 KB  |  153 lines

  1. # Makefile for core library
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  1.2.4
  5. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id: Makefile,v 1.23 1995/11/13 21:34:00 brianp Exp $
  23.  
  24. # $Log: Makefile,v $
  25. # Revision 1.23  1995/11/13  21:34:00  brianp
  26. # added xmesa3.c file
  27. #
  28. # Revision 1.22  1995/10/19  15:55:02  brianp
  29. # added gamma.c to SOURCES
  30. #
  31. # Revision 1.21  1995/10/17  21:44:28  brianp
  32. # changed SOURCES for new device driver and masking.c files
  33. #
  34. # Revision 1.20  1995/08/01  20:58:09  brianp
  35. # modified to use $(MAKELIB)
  36. #
  37. # Revision 1.19  1995/06/21  15:54:36  brianp
  38. # renamed source files to 8.3 convention
  39. # added Linux ELF shared library target
  40. # Release 1.2.1
  41. #
  42. # Revision 1.18  1995/05/22  21:05:42  brianp
  43. # Release 1.2
  44. #
  45. # Revision 1.17  1995/04/17  14:40:37  brianp
  46. # use GL_LIB variable
  47. #
  48. # Revision 1.16  1995/03/24  19:30:25  brianp
  49. # added vb.c to SOURCES
  50. #
  51. # Revision 1.15  1995/03/13  15:58:15  brianp
  52. # added xfonts.c to SOURCES
  53. #
  54. # Revision 1.14  1995/03/10  16:26:16  brianp
  55. # use eval2.c instead of eval.c
  56. #
  57. # Revision 1.13  1995/03/08  19:49:05  brianp
  58. # added -Y to makedepend
  59. #
  60. # Revision 1.12  1995/03/08  19:42:36  brianp
  61. # revamped for makedepend
  62. #
  63. # Revision 1.11  1995/03/08  15:13:10  brianp
  64. # dependency changes for dd_logicop, dd_clear_index, dd_clear_color
  65. #
  66. # Revision 1.10  1995/03/07  19:10:54  brianp
  67. # made changes for pb w/ blending, alpha test, logic ops
  68. #
  69. # Revision 1.9  1995/03/07  14:15:25  brianp
  70. # use eval.c instead of eval2.c because of FPE on Linux
  71. #
  72. # Revision 1.8  1995/03/04  19:18:40  brianp
  73. # changed for Make-config
  74. #
  75. # Revision 1.7  1995/03/01  21:05:20  brianp
  76. # replaced 'make' with $(MAKE)
  77. #
  78. # Revision 1.6  1995/03/01  17:44:40  brianp
  79. # added stenciling for PB
  80. #
  81. # Revision 1.5  1995/02/28  21:23:16  brianp
  82. # added glx support
  83. #
  84. # Revision 1.4  1995/02/27  22:49:15  brianp
  85. # modified for PB
  86. #
  87. # Revision 1.3  1995/02/24  19:33:36  brianp
  88. # added VPATH for RCS
  89. #
  90. # Revision 1.2  1995/02/24  16:50:54  brianp
  91. # added netbsd target
  92. #
  93. # Revision 1.1  1995/02/24  14:32:10  brianp
  94. # Initial revision
  95. #
  96.  
  97.  
  98. ##### MACROS #####
  99.  
  100. VPATH = RCS
  101.  
  102. INCDIR = ../include
  103. LIBDIR = ../lib
  104.  
  105. SOURCES = accum.c alpha.c attrib.c bitmap.c blend.c bresenhm.c clip.c \
  106.     context.c copypix.c dd.c depth.c draw.c drawpix.c enable.c \
  107.     eval2.c fog.c feedback.c fortran.c gamma.c get.c glx.c interp.c \
  108.     light.c lines.c list.c logic.c masking.c misc.c osmesa.c pb.c \
  109.     pixel.c points.c polygons.c readpix.c scissor.c span.c stencil.c \
  110.     texture.c vb.c vertex.c xfonts.c xform.c xmesa1.c xmesa2.c xmesa3.c
  111.  
  112.  
  113.  
  114. OBJECTS = $(SOURCES:.c=.o)
  115.  
  116.  
  117.  
  118. ##### RULES #####
  119.  
  120. .c.o:
  121.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  122.  
  123.  
  124.  
  125. ##### TARGETS #####
  126.  
  127. default:
  128.     @echo "Specify a target configuration"
  129.  
  130. clean:
  131.     -rm *.o *~
  132.  
  133. targets: $(LIBDIR)/$(GL_LIB)
  134.  
  135. # Make the library
  136. $(LIBDIR)/$(GL_LIB): $(OBJECTS)
  137.     $(MAKELIB) $@ $(OBJECTS)
  138.     $(RANLIB) $@
  139.  
  140. include ../Make-config
  141.  
  142. include depend
  143.  
  144.  
  145.  
  146. #
  147. # Run 'make depend' to update the dependencies if you change what's included
  148. # by any source file.
  149. depend: $(SOURCES)
  150.     makedepend -fdepend -Y -I../include $(SOURCES)
  151.  
  152.